import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
type int = number;
//class SGetBossQuestion
    
    export  class SGetBossQuestion extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SGetBossQuestion();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            this.entityId.__write(arg1);
            arg1.writeString(this.questionName);
            arg1.writeString(this.a);
            arg1.writeString(this.b);
            arg1.writeString(this.c);
            arg1.writeString(this.d);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(arg1);
            this.questionName = arg1.readString();
            this.a = arg1.readString();
            this.b = arg1.readString();
            this.c = arg1.readString();
            this.d = arg1.readString();
            return;
        }

        public /* const */_type: int=300;

        public /* var */entityId: SEntityId;

        public /* var */questionName: string;

        public /* var */a: string;

        public /* var */b: string;

        public /* var */c: string;

        public /* var */d: string;

        public static /* var */_regist: SGetBossQuestion;
    }

            SGetBossQuestion._regist = new SGetBossQuestion(true);
        